package com.wg.dome.entity.config;

import com.wg.db.annotation.EntityField;
import com.wg.db.annotation.EntityTable;
import com.wg.db.schema.AccessLevel;

import java.io.Serializable;

@EntityTable(tableName = "static_zhuling_weapon",accessLevel = AccessLevel.ReadOnly)
public class ZhuLingWeaponEntity implements Serializable {

    /**
     * 注灵等级
     */
    @EntityField(isKey = true)
    private int level;

    /**
     * 攻击力
     */
    @EntityField
    private int atk;

    /**
     * 抗暴率
     */
    @EntityField
    private int kbl;

    /**
     * 消耗道具Id
     */
    @EntityField(fieldName = "use_item_id")
    private int useItemId;

    /**
     * 消耗道具数量
     */
    @EntityField(fieldName = "use_item_count")
    private int useItemCount;

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public int getAtk() {
        return atk;
    }

    public void setAtk(int atk) {
        this.atk = atk;
    }

    public int getKbl() {
        return kbl;
    }

    public void setKbl(int kbl) {
        this.kbl = kbl;
    }

    public int getUseItemId() {
        return useItemId;
    }

    public void setUseItemId(int useItemId) {
        this.useItemId = useItemId;
    }
}
